#include <iostream>
#include "btestdemo.h"
#include "barraymemmanager.h"
#include "bfoodemo.h"
#include "bmemallocator.h"

#include <cstddef>
#include <list>

typedef struct test tst;

using namespace std;

class test
{
public:
	test()
	{
		cout << "ator called !" << endl;
	}

	test (int i)
	{
		cout << "value ator called !" << i << endl;
	}
	~test()
	{
		cout << "dtor called !" << endl;
	}

	test (const test &t)
	{
		cout << "copy ator called !"  << t.i << endl;
	}
private:
	int i ;
};

template<typename Alloc>
void cookie_test(Alloc alloc, size_t n)
{
}

int main()
{
	test tt(1);
	test ttmove(2);
	test *newt = new test(3);
	list<test> c;
	c.push_back(tt);
	c.push_back(std::move(ttmove));
	delete newt;
	cout << "hello world!" << endl;
	return 0;
}
